﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/ProductionHistoryDowntimeEventItem")]
    public class ProductionHistoryDowntimeEventItem
    {
        [DataMember(IsRequired = true)]
        public int ProductionHistoryDowntimeEventId { get; set; }

        [DataMember(IsRequired = true)]
        public int ProductionHistoryClientId { get; set; }

        [DataMember(IsRequired = true)]
        public int? ProductionHistoryServerId { get; set; }

        [DataMember(IsRequired = true)]
        public int? ReasonCodeId { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime EventTime { get; set; }

        [DataMember(IsRequired = true)]
        public int? VisiBoxKey { get; set; }

        [DataMember(IsRequired = true)]
        public int ClientId { get; set; }
    }
}
